﻿using B.S.GridManager.ErrorCode;
using MediatR;

namespace B.S.GridManager.Api.Write.Application.Command.LogicGrid
{
    /// <summary>
    /// 创建逻辑网格的请求命令
    /// </summary>
    public class CreateLogicCommand:IRequest<ApiResult<int>>
    {

        // id  isdeleted
        /// <summary>
        /// 所属部门id
        /// </summary>
        public long DepartmentId { get; set; }
        /// <summary>
        /// 逻辑网格名称
        /// </summary>
        public string LogicGridName { get; set; }
        /// <summary>
        /// 逻辑网格编码
        /// </summary>
        public string LogicGridCode { get; set; }
        /// <summary>
        /// 上级网格ID
        /// </summary>
        public long? ParentId { get; set; }
    }
}
